package teleware.soe.core.strategy;

import teleware.soe.core.dto.MappingPool;
import teleware.soe.core.enums.MappingEnum;

import java.lang.reflect.Method;

/**
 * 映射策略
 *
 * @author :hongsw
 * @date :2020-12-11 16:05
 */
public interface MappingStrategy {
    /**
     * 将方法存入映射池
     *
     * @param mappingEnum 注解枚举
     * @param method      方法
     * @param mappingPool 映射池
     * @author hongsw
     * @date 2020/12/11 17:07
     **/
    void process(MappingEnum mappingEnum, Method method, MappingPool mappingPool);
}
